
import service from '@/utils/baseApi.js'
// 热搜
export function bHeatKeywordsList(data) {
	return service({
		url: '/framework/bHeatKeywords/selectList',
		method: 'Get',
		data
	})
}
// 获取轮播图详细信息
export function bannerCode(data) {
	return service({
		url: `/framework/banner/bannerCode/${data.bannerCode}`,
		method: 'get',
		data
	})
}

export function datatype(dictType) {
	return service({
		url: `/system/dict/data/type/${dictType}`,
		method: 'get',
	})
}
// 获取协议文档详细信息
export function docAgreement(data) {
	return service({
		url: `/framework/doc/5/${data.docCode}`,
		method: 'get',
		data
	})
}

// 各个订单状态数统计
export function shopPurOrderNum(data) {
	return service({
		url: '/framework/shopPurOrder/shopPurOrderNum',
		method: 'Get',
		data
	})
}

export function getAntUser(data) {
	return service({
		url: '/framework/userMember/getAntUser',
		method: 'Get',
		data
	})
}
export function userMemberBind(data) {
	return service({
		url: '/framework/userMember',
		method: 'post',
		data
	})
}
export function getAntUserInfo(data) {
	return service({
		url: '/framework/userMember/getAntUserByCode',
		method: 'Get',
		data
	})
}
